﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.CharacterSheetSchema

    Public Class item

        Private intDurability As Integer
        Private intGem0ID As Integer
        Private intGem1ID As Integer
        Private intGem2ID As Integer
        Private strIcon As String
        Private intID As Integer
        Private intMaxDurability As Integer
        Private intPermanentEnchant As Integer
        Private intRandomPropertiesID As Integer
        Private intSeed As Integer
        Private intSlot As Integer

        <XmlAttribute()> Public Property durability() As Integer
            Get
                Return intDurability
            End Get
            Set(ByVal value As Integer)
                intDurability = value
            End Set
        End Property

        <XmlAttribute()> Public Property gem0Id() As Integer
            Get
                Return intGem0ID
            End Get
            Set(ByVal value As Integer)
                intGem0ID = value
            End Set
        End Property

        <XmlAttribute()> Public Property gem1Id() As Integer
            Get
                Return intGem1ID
            End Get
            Set(ByVal value As Integer)
                intGem1ID = value
            End Set
        End Property

        <XmlAttribute()> Public Property gem2Id() As Integer
            Get
                Return intGem2ID
            End Get
            Set(ByVal value As Integer)
                intGem2ID = value
            End Set
        End Property

        <XmlAttribute()> Public Property icon() As String
            Get
                Return strIcon
            End Get
            Set(ByVal value As String)
                strIcon = value
            End Set
        End Property

        <XmlAttribute()> Public Property id() As Integer
            Get
                Return intID
            End Get
            Set(ByVal value As Integer)
                intID = value
            End Set
        End Property

        <XmlAttribute()> Public Property maxDurability() As Integer
            Get
                Return intMaxDurability
            End Get
            Set(ByVal value As Integer)
                intMaxDurability = value
            End Set
        End Property

        <XmlAttribute()> Public Property permanentEnchant() As Integer
            Get
                Return intPermanentEnchant
            End Get
            Set(ByVal value As Integer)
                intPermanentEnchant = value
            End Set
        End Property

        <XmlAttribute()> Public Property randomPropertiesId() As Integer
            Get
                Return intRandomPropertiesID
            End Get
            Set(ByVal value As Integer)
                intRandomPropertiesID = value
            End Set
        End Property

        <XmlAttribute()> Public Property seed() As Integer
            Get
                Return intSeed
            End Get
            Set(ByVal value As Integer)
                intSeed = value
            End Set
        End Property

        <XmlAttribute()> Public Property slot() As Integer
            Get
                Return intSlot
            End Get
            Set(ByVal value As Integer)
                intSlot = value
            End Set
        End Property

    End Class

End Namespace